/// code : 200
/// msg : "success"
/// data : {"id":157,"name":"苹果","code":"IOS","advertUrl":"http://39.96.173.145:19011/registerlp.html?source=IOS&tid=10","settlementType":1,"settlementTypeText":"UV","price":123.0,"ratio":1.0,"channelType":1,"hasShowCpaProduct":1,"cpaProductShowNodes":null,"hasShowApiProduct":0,"apiProductShowNodes":null,"hasApiOfflinePushLoan":0,"hasApiOnlinePushLoan":0,"hasShowH5LoanPush":0,"isChoiceH5Agreement":0,"hasShowAuthFields":1,"hasShowJdIousFields":1,"hasShowAssetsFields":1,"thirdLoanEnableStatus":0,"authType":2,"isShowFace":1,"status":1,"statusText":"启用","createTime":"2023-02-18 18:59:46","isShowLoanMount":1,"isShowLoanTime":1,"isShowLoanPurpose":1,"isShowEducation":1,"isShowMarry":1,"isShowProfession":0,"isShowUrgentLiaison":0,"isShowCommonLiaison":0}

class ControlEntryBean {
  ControlEntryBean({
    this.code,
    this.msg,
    this.data,
  });

  ControlEntryBean.fromJson(dynamic json) {
    code = json['code'];
    msg = json['msg'];
    data = json['data'] != null ? ControlEntry.fromJson(json['data']) : null;
  }

  num? code;
  String? msg;
  ControlEntry? data;

  ControlEntryBean copyWith({
    num? code,
    String? msg,
    ControlEntry? data,
  }) =>
      ControlEntryBean(
        code: code ?? this.code,
        msg: msg ?? this.msg,
        data: data ?? this.data,
      );

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['code'] = code;
    map['msg'] = msg;
    if (data != null) {
      map['data'] = data?.toJson();
    }
    return map;
  }
}

/// id : 157
/// name : "苹果"
/// code : "IOS"
/// advertUrl : "http://39.96.173.145:19011/registerlp.html?source=IOS&tid=10"
/// settlementType : 1
/// settlementTypeText : "UV"
/// price : 123.0
/// ratio : 1.0
/// channelType : 1
/// hasShowCpaProduct : 1
/// cpaProductShowNodes : null
/// hasShowApiProduct : 0
/// apiProductShowNodes : null
/// hasApiOfflinePushLoan : 0
/// hasApiOnlinePushLoan : 0
/// hasShowH5LoanPush : 0
/// isChoiceH5Agreement : 0
/// hasShowAuthFields : 1
/// hasShowJdIousFields : 1
/// hasShowAssetsFields : 1
/// thirdLoanEnableStatus : 0
/// authType : 2
/// isShowFace : 1
/// status : 1
/// statusText : "启用"
/// createTime : "2023-02-18 18:59:46"
/// isShowLoanMount : 1
/// isShowLoanTime : 1
/// isShowLoanPurpose : 1
/// isShowEducation : 1
/// isShowMarry : 1
/// isShowProfession : 0
/// isShowUrgentLiaison : 0
/// isShowCommonLiaison : 0

class ControlEntry {
  ControlEntry({
    this.id,
    this.name,
    this.code,
    this.advertUrl,
    this.settlementType,
    this.settlementTypeText,
    this.price,
    this.ratio,
    this.channelType,
    this.hasShowCpaProduct,
    this.cpaProductShowNodes,
    this.hasShowApiProduct,
    this.apiProductShowNodes,
    this.hasApiOfflinePushLoan,
    this.hasApiOnlinePushLoan,
    this.hasShowH5LoanPush,
    this.isChoiceH5Agreement,
    this.hasShowAuthFields,
    this.hasShowJdIousFields,
    this.hasShowAssetsFields,
    this.thirdLoanEnableStatus,
    this.authType,
    this.isShowFace,
    this.status,
    this.statusText,
    this.createTime,
    this.isShowLoanMount,
    this.isShowLoanTime,
    this.isShowLoanPurpose,
    this.isShowEducation,
    this.isShowMarry,
    this.isShowProfession,
    this.isShowUrgentLiaison,
    this.isShowCommonLiaison,
    this.isShowName,
    this.isShowAge,
    this.isShowIdCard,
    this.isShowHouseType,
    this.isShowMonthIncome,

  });

  ControlEntry.fromJson(dynamic json) {
    id = json['id'];
    name = json['name'];
    code = json['code'];
    advertUrl = json['advertUrl'];
    settlementType = json['settlementType'];
    settlementTypeText = json['settlementTypeText'];
    price = json['price'];
    ratio = json['ratio'];
    channelType = json['channelType'];
    hasShowCpaProduct = json['hasShowCpaProduct'];
    cpaProductShowNodes = json['cpaProductShowNodes'];
    hasShowApiProduct = json['hasShowApiProduct'];
    apiProductShowNodes = json['apiProductShowNodes'];
    hasApiOfflinePushLoan = json['hasApiOfflinePushLoan'];
    hasApiOnlinePushLoan = json['hasApiOnlinePushLoan'];
    hasShowH5LoanPush = json['hasShowH5LoanPush'];
    isChoiceH5Agreement = json['isChoiceH5Agreement'];
    hasShowAuthFields = json['hasShowAuthFields'];
    hasShowJdIousFields = json['hasShowJdIousFields'];
    hasShowAssetsFields = json['hasShowAssetsFields'];
    thirdLoanEnableStatus = json['thirdLoanEnableStatus'];
    authType = json['authType'];
    isShowFace = json['isShowFace'];
    status = json['status'];
    statusText = json['statusText'];
    createTime = json['createTime'];
    isShowLoanMount = json['isShowLoanMount'];
    isShowLoanTime = json['isShowLoanTime'];
    isShowLoanPurpose = json['isShowLoanPurpose'];
    isShowEducation = json['isShowEducation'];
    isShowMarry = json['isShowMarry'];
    isShowProfession = json['isShowProfession'];
    isShowUrgentLiaison = json['isShowUrgentLiaison'];
    isShowCommonLiaison = json['isShowCommonLiaison'];
    isShowName = json['isShowName'];
    isShowAge = json['isShowAge'];
    isShowIdCard = json['isShowIdCard'];
    isShowHouseType = json['isShowHouseType'];
    isShowMonthIncome = json['isShowMonthIncome'];

  }

  num? id;
  String? name;
  String? code;
  String? advertUrl;
  num? settlementType;
  String? settlementTypeText;
  num? price;
  num? ratio;
  num? channelType;
  num? hasShowCpaProduct;
  dynamic cpaProductShowNodes;
  num? hasShowApiProduct;
  dynamic apiProductShowNodes;
  num? hasApiOfflinePushLoan;
  num? hasApiOnlinePushLoan;
  num? hasShowH5LoanPush;
  num? isChoiceH5Agreement;
  num? hasShowAuthFields;
  num? hasShowJdIousFields;
  num? hasShowAssetsFields;
  num? thirdLoanEnableStatus;
  num? authType;
  num? isShowFace;
  num? status;
  String? statusText;
  String? createTime;
  num? isShowLoanMount;
  num? isShowLoanTime;
  num? isShowLoanPurpose;
  num? isShowEducation;
  num? isShowMarry;
  num? isShowProfession;
  num? isShowUrgentLiaison;
  num? isShowCommonLiaison;
  num? isShowName;
  num? isShowAge;
  num? isShowIdCard;
  num? isShowHouseType;
  num? isShowMonthIncome;



  ControlEntry copyWith({
    num? id,
    String? name,
    String? code,
    String? advertUrl,
    num? settlementType,
    String? settlementTypeText,
    num? price,
    num? ratio,
    num? channelType,
    num? hasShowCpaProduct,
    dynamic cpaProductShowNodes,
    num? hasShowApiProduct,
    dynamic apiProductShowNodes,
    num? hasApiOfflinePushLoan,
    num? hasApiOnlinePushLoan,
    num? hasShowH5LoanPush,
    num? isChoiceH5Agreement,
    num? hasShowAuthFields,
    num? hasShowJdIousFields,
    num? hasShowAssetsFields,
    num? thirdLoanEnableStatus,
    num? authType,
    num? isShowFace,
    num? status,
    String? statusText,
    String? createTime,
    num? isShowLoanMount,
    num? isShowLoanTime,
    num? isShowLoanPurpose,
    num? isShowEducation,
    num? isShowMarry,
    num? isShowProfession,
    num? isShowUrgentLiaison,
    num? isShowCommonLiaison,
    num? isShowName,
    num? isShowAge,
    num? isShowIdCard,
    num? isShowHouseType,
    num? isShowMonthIncome,

  }) =>
      ControlEntry(
        id: id ?? this.id,
        name: name ?? this.name,
        code: code ?? this.code,
        advertUrl: advertUrl ?? this.advertUrl,
        settlementType: settlementType ?? this.settlementType,
        settlementTypeText: settlementTypeText ?? this.settlementTypeText,
        price: price ?? this.price,
        ratio: ratio ?? this.ratio,
        channelType: channelType ?? this.channelType,
        hasShowCpaProduct: hasShowCpaProduct ?? this.hasShowCpaProduct,
        cpaProductShowNodes: cpaProductShowNodes ?? this.cpaProductShowNodes,
        hasShowApiProduct: hasShowApiProduct ?? this.hasShowApiProduct,
        apiProductShowNodes: apiProductShowNodes ?? this.apiProductShowNodes,
        hasApiOfflinePushLoan: hasApiOfflinePushLoan ?? this.hasApiOfflinePushLoan,
        hasApiOnlinePushLoan: hasApiOnlinePushLoan ?? this.hasApiOnlinePushLoan,
        hasShowH5LoanPush: hasShowH5LoanPush ?? this.hasShowH5LoanPush,
        isChoiceH5Agreement: isChoiceH5Agreement ?? this.isChoiceH5Agreement,
        hasShowAuthFields: hasShowAuthFields ?? this.hasShowAuthFields,
        hasShowJdIousFields: hasShowJdIousFields ?? this.hasShowJdIousFields,
        hasShowAssetsFields: hasShowAssetsFields ?? this.hasShowAssetsFields,
        thirdLoanEnableStatus: thirdLoanEnableStatus ?? this.thirdLoanEnableStatus,
        authType: authType ?? this.authType,
        isShowFace: isShowFace ?? this.isShowFace,
        status: status ?? this.status,
        statusText: statusText ?? this.statusText,
        createTime: createTime ?? this.createTime,
        isShowLoanMount: isShowLoanMount ?? this.isShowLoanMount,
        isShowLoanTime: isShowLoanTime ?? this.isShowLoanTime,
        isShowLoanPurpose: isShowLoanPurpose ?? this.isShowLoanPurpose,
        isShowEducation: isShowEducation ?? this.isShowEducation,
        isShowMarry: isShowMarry ?? this.isShowMarry,
        isShowProfession: isShowProfession ?? this.isShowProfession,
        isShowUrgentLiaison: isShowUrgentLiaison ?? this.isShowUrgentLiaison,
        isShowCommonLiaison: isShowCommonLiaison ?? this.isShowCommonLiaison,
        isShowName: isShowName ?? this.isShowName,
        isShowAge: isShowAge ?? this.isShowAge,
        isShowIdCard: isShowIdCard ?? this.isShowIdCard,
          isShowHouseType: isShowHouseType ?? this.isShowHouseType,
          isShowMonthIncome: isShowMonthIncome ?? this.isShowMonthIncome,

      );

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['id'] = id;
    map['name'] = name;
    map['code'] = code;
    map['advertUrl'] = advertUrl;
    map['settlementType'] = settlementType;
    map['settlementTypeText'] = settlementTypeText;
    map['price'] = price;
    map['ratio'] = ratio;
    map['channelType'] = channelType;
    map['hasShowCpaProduct'] = hasShowCpaProduct;
    map['cpaProductShowNodes'] = cpaProductShowNodes;
    map['hasShowApiProduct'] = hasShowApiProduct;
    map['apiProductShowNodes'] = apiProductShowNodes;
    map['hasApiOfflinePushLoan'] = hasApiOfflinePushLoan;
    map['hasApiOnlinePushLoan'] = hasApiOnlinePushLoan;
    map['hasShowH5LoanPush'] = hasShowH5LoanPush;
    map['isChoiceH5Agreement'] = isChoiceH5Agreement;
    map['hasShowAuthFields'] = hasShowAuthFields;
    map['hasShowJdIousFields'] = hasShowJdIousFields;
    map['hasShowAssetsFields'] = hasShowAssetsFields;
    map['thirdLoanEnableStatus'] = thirdLoanEnableStatus;
    map['authType'] = authType;
    map['isShowFace'] = isShowFace;
    map['status'] = status;
    map['statusText'] = statusText;
    map['createTime'] = createTime;
    map['isShowLoanMount'] = isShowLoanMount;
    map['isShowLoanTime'] = isShowLoanTime;
    map['isShowLoanPurpose'] = isShowLoanPurpose;
    map['isShowEducation'] = isShowEducation;
    map['isShowMarry'] = isShowMarry;
    map['isShowProfession'] = isShowProfession;
    map['isShowUrgentLiaison'] = isShowUrgentLiaison;
    map['isShowCommonLiaison'] = isShowCommonLiaison;
    map['isShowName'] = isShowName;
    map['isShowAge'] = isShowAge;
    map['isShowIdCard'] = isShowIdCard;
    map['isShowHouseType'] = isShowHouseType;
    map['isShowMonthIncome'] = isShowMonthIncome;

    return map;
  }
}
